
<%@ page import="stravel.City" %>
<!DOCTYPE html>
<html>
  <head>
    <meta name="layout" content="admin">
  <g:set var="entityName" value="${message(code: 'city.label', default: 'City')}" />
  <title><g:message code="default.show.label" args="[entityName]" /></title>
</head>
<body>
  
  <div class="header">

    <h1 class="page-title"><g:message code="default.show.label" args="[entityName]" /></h1>
    <ul class="breadcrumb">
      <li><a href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
      <li><g:link action="index"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
      <li class="active"><g:message code="default.show.label" args="[entityName]" /></li>
    </ul>

  </div>
  
  
  <div class="main-content">
        <g:if test="${flash.message}">
          <bootstrap:alert class="alert-info">${flash.message}</bootstrap:alert>
        </g:if>


        <dl class="dl-horizontal">
          
          <dt><g:message code="city.name.label" default="Name" /></dt>
          <dd>
          
        <g:fieldValue bean="${cityInstance}" field="name"/>
    
          
          </dd>

          <dt><g:message code="city.parent.label" default="Parent" /></dt>
          <dd>
          
        <g:link controller="location" action="show" id="${cityInstance?.parent?.id}">${cityInstance?.parent?.encodeAsHTML()}</g:link>
    
          
          </dd>

          <dt><g:message code="city.childs.label" default="Childs" /></dt>
          <dd>
          
        
    
          
          </dd>

          <dt><g:message code="city.hotels.label" default="Hotels" /></dt>
          <dd>
          
        
    
          
          </dd>

        </dl>
        <div class="form-actions">
          

            <g:link class="btn btn-primary" action="list" ><g:message code="default.button.list.label" default="List" /></g:link>
            <g:link class="btn btn-primary" action="edit" resource="${cityInstance}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
            

          
        </div>
      </div>



 
</body>
</html>
